Skip to content

Instantly share code, notes, and snippets.

# This file verifies the contraction identity of the 3D Levi-Civita symbol:
# ε[i,j,k] * ε[i,m,n] == δ[j,m]*δ[k,n] - δ[j,n]*δ[k,m]
# where δ is the 3x3 identity matrix. It builds ε via determinants of the
# identity matrix with permuted rows, then checks the identity using
# Einstein summation via TensorOperations.
using LinearAlgebra: I, det
using TensorOperations: @tensor
I3 = Matrix(I, 3, 3)
ε = [Int.(det(I3[[i,j,k], :])) for i in 1:3, j in 1:3, k in 1:3]
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- 1. إنشاء الـ ScreenGui الرئيسي
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomPCKeyboard"
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created August 6, 2026 13:26
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Thursday, August 6, 2026, 4:26:25 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
@krishtheg
krishtheg / krea2-comfyui.yaml
Created August 6, 2026 13:29
Krea 2 ComfyUI provisioning manifest (vast.ai)
version: 1
downloads:
# Turbo fp8 — fast 8-step generation (recommended default)
- url: https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_fp8_scaled.safetensors
dest: "${WORKSPACE:-/workspace}/ComfyUI/models/diffusion_models/krea2_turbo_fp8_scaled.safetensors"
# Turbo int8 — used by the style-reference workflow
- url: https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_int8_convrot.safetensors
dest: "${WORKSPACE:-/workspace}/ComfyUI/models/diffusion_models/krea2_turbo_int8_convrot.safetensors"
[
{
"where": "Layer",
"if": {
"Datasource.type": "postgis"
},
"then": {
"Datasource.dbname": "hdmht",
"Datasource.user": "skors",
"Datasource.host": "localhost"
@tkfu
tkfu / srd_5e_monsters.json
Last active August 6, 2026 13:28
A JSON file with all the D&D 5e SRD monster data
[
{
"name": "Aboleth",
"meta": "Large aberration, lawful evil",
"Armor Class": "17 (Natural Armor)",
"Hit Points": "135 (18d10 + 36)",
"Speed": "10 ft., swim 40 ft. ",
"STR": "21",
"STR_mod": "(+5)",
"DEX": "9",
'''HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="#000000">
<title>NXPRO — Studio Shell</title>
<style>
@seanh
seanh / !unicode_in_python.markdown
Last active August 6, 2026 13:22
Unicode in Python

Unicode in Python 2 and 3

My notes on unicode handling in Python 2 and 3, with runnable tests.

So far this is very heavily based on Ned Batchelder's Pragmatic Unicode, it's basically my notes on that presentation, with the examples from that presentation in the form of runnable tests. I may add more to these notes in time though.

Design Thinking

X → Graph → Effect<A, E, R>
│              │   │  │  │
│              │   │  │  └─ what each node needs     (§5)
│              │   │  └──── where the graph breaks   (§4)
│              │   └─────── what flows through nodes  (§2)
│              │
│ └─ nodes = functions, edges = data flow
@fawazahmed0
fawazahmed0 / breach.txt
Last active August 6, 2026 13:19
Email and password breach collection list
# Please Note, I am sharing this, hoping this will be used for good public use, such as data analysis, penetration testing etc
# These links are already available all over the internet
# Also Note, Trying to login into someone else's account without their permission is unethical and illegal
# Collection 1
magnet:?xt=urn:btih:B39C603C7E18DB8262067C5926E7D5EA5D20E12E&dn=Collection%201&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
# Collection 2-5 & Antipublic
magnet:?xt=urn:btih:D136B1ADDE531F38311FBF43FB96FC26DF1A34CD&dn=Collection%20%232-%235%20%26%20Antipublic&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce